package com.audaque.jadmin.system.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @Description :
 * @FileName: UsernamePasswordCaptchaToken.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年10月16日 下午4:57:21
 * @Version:V1.00
 */
public class UsernamePasswordCaptchaToken extends UsernamePasswordToken {

	private static final long serialVersionUID = 1L;

	private String captcha;

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	public UsernamePasswordCaptchaToken() {
		super();
	}

	public UsernamePasswordCaptchaToken(String username, char[] password, boolean rememberMe, String host,
			String captcha) {
		super(username, password, rememberMe, host);
		this.captcha = captcha;
	}

	public UsernamePasswordCaptchaToken(String username, char[] password, String captcha) {
		super(username, password, true);
		this.captcha = captcha;
	}
}
